home *** CD-ROM | disk | FTP | other *** search
- global gloch, glocv, haba, high, y1, y2
-
- on gscno
- global gloch, glocv, haba, high, y1, y2
- set gloch to 20
- set glocv to -80
- set haba to 480
- set high to 640
- set y1 to -210
- set y2 to 24
- puppetSprite(1, 1)
- end
-
- on scrollup
- repeat while stillDown()
- if rollOver(clickOn()) then
- set the memberNum of sprite 15 to 63
- updateStage()
- if (glocv >= y1) and (glocv <= y2) then
- set glocv to glocv - 8
- if glocv < y1 then
- set glocv to y1
- end if
- set the rect of sprite 1 to rect(gloch, glocv, gloch + haba, glocv + high)
- next repeat
- end if
- end if
- end repeat
- set the memberNum of sprite 15 to 63
- updateStage()
- end
-
- on scrolldown
- repeat while stillDown()
- if rollOver(clickOn()) then
- set the memberNum of sprite 16 to 65
- updateStage()
- if (glocv >= y1) and (glocv <= y2) then
- set glocv to glocv + 8
- if glocv > y2 then
- set glocv to y2
- end if
- set the rect of sprite 1 to rect(gloch, glocv, gloch + haba, glocv + high)
- next repeat
- end if
- end if
- end repeat
- set the memberNum of sprite 16 to 64
- updateStage()
- end
-